*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.contact{
  position: relative;
  top: 120px;
  left: 100%;
  
}

.contact-btn{
  margin-top: -10px;
  margin-left: 30px;
    --glow-color: rgb(217, 176, 255);
    --glow-spread-color: rgba(191, 123, 255, 0.781);
    --enhanced-glow-color: rgb(231, 206, 255);
    --btn-color: rgb(100, 61, 136);
    border: 0.25em solid var(--glow-color);
    padding: 1em 3em;
    color: rgba(255, 255, 255, 0.689);
    font-size: 15px;
    font-weight: bold;
    background-color: var(--btn-color);
    border-radius: 1em;
    outline: none;
    box-shadow: 0 0 1em 0.25em var(--glow-color),
                0 0 4em 1em var(--glow-spread-color),
                inset 0 0 0.75em 0.25em var(--glow-color);
    text-shadow: 0 0 0.5em var(--glow-color);
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.contact-btn::after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 120%;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--glow-spread-color);
  filter: blur(2em);
  opacity: 0.7;
  transform: perspective(1.5em) rotateX(35deg) scale(1, 0.6);
}

.contact-btn:hover {
  color: var(--btn-color);
  background-color: var(--glow-color);
  box-shadow: 0 0 1em 0.25em var(--glow-color),
              0 0 4em 2em var(--glow-spread-color),
              inset 0 0 0.75em 0.25em var(--glow-color);
}

.contact-btn:active {
  box-shadow: 0 0 0.6em 0.25em var(--glow-color),
              0 0 2.5em 2em var(--glow-spread-color),
              inset 0 0 0.5em 0.25em var(--glow-color);
}


body {
  margin: 0;
  min-height: 100vh;
  background: #2d2b50;
  overflow-x: hidden;

}


.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  filter: blur(100px);
  opacity: 0.5;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  font-family: play;
  word-spacing: 1px;
  letter-spacing: 1px;
}

.card-container {
  flex: 0 1 350px;
  perspective: 1000px;
}

.card-article {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-article:hover {
  transform: translateY(-10px);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.card-data {
  padding: 1rem 0;
}

.card-description {
  color: #e0e0e0;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1rem;
}

.card-title {
  color: white;
  margin-top: 1rem ;
  font-size: 1.5rem;
  text-align: left;
}

.card-btn {
  font-size: 16px;
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}


.why-us-container {
  min-height: 100vh;
 /* background-color: #03212d,#162475;*/
  background: linear-gradient(135deg, #03212dc8 80%, #ff69b4 20%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.why-us {
  max-width: 1200px;
  width: 100%;
  font-size: 20px;
  min-height: 100vh;
}

.title {
  color: white;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #ff69b4;
  border-radius: 2px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.card:hover::before {
  transform: translateX(100%);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-icon {
  font-size: 2rem;
  opacity: 0.8;
}

.card p {
  line-height: 1.6;
  opacity: 0.9;
}

.stats {
  margin-top: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.card:hover .stats {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .title {
      font-size: 2rem;
  }

  .cards-container {
      grid-template-columns: 1fr;
  }

  .card {
      padding: 1.5rem;
  }
}

/* Animation for cards on load */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:nth-child(4) { animation-delay: 0.8s; }


/* Feedback section */

.feedback-container {
  min-height: 100vh;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0f0c29;
  background: linear-gradient(135deg, #24243e, #302b63, #0f0c29);
  padding: 20px;
  gap: 20px;
}

.feedback-form-container, .feedback-display {
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: 3px;
  background: linear-gradient(45deg, #ff6b6b, #6b47ff, #45caff, #ff6b6b);
  background-size: 400% 400%;
  border-radius: 15px;
  animation: borderGradient 8s linear infinite;
}

.feedback-display {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
}

.feedback-display h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.feedback-list {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}

.feedback-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  animation: fadeInUp 0.5s ease;
}

.feedback-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.feedback-header h3 {
  color: #fff;
  font-size: 1.1rem;
}

.feedback-header .rating {
  color: #ffd700;
  font-size: 1rem;
  margin: 0;
  display: flex;
  gap: 2px;
}

.feedback-item p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.feedback-item .date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

/* Scrollbar styling */
.feedback-list::-webkit-scrollbar {
  width: 8px;
}

.feedback-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.feedback-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}




    /* Navigation Buttons */
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: #fff;
            font-size: 1.5rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .carousel-nav:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-nav.prev {
            left: -50px;
        }

        .carousel-nav.next {
            right: -50px;
        }

        /* Indicators */
        .carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 15px;
        }

        .indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: #fff;
            transform: scale(1.2);
        }

        /* Empty state */
        .empty-feedback {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: rgba(255, 255, 255, 0.6);
            font-size: 1.1rem;
        }

        .empty-feedback .icon {
            font-size: 3rem;
            margin-bottom: 10px;
            opacity: 0.5;
        }

/* Existing styles */
@keyframes borderGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.feedback-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.input-group {
  margin-bottom: 25px;
  position: relative;
}

.input-group label {
  display: block;
  color: #fff;
  margin-bottom: 8px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.rating {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.star {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.star.active {
  color: #ffd700;
  transform: scale(1.2);
}

.submit-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #ff6b6b, #6b47ff);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(107, 71, 255, 0.3);
}

.success-message {
  display: none;
  text-align: center;
  color: #4CAF50;
  margin-top: 20px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(76, 175, 80, 0.1);
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.input-group {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.input-group:nth-child(1) { animation-delay: 0.1s; }
.input-group:nth-child(2) { animation-delay: 0.2s; }
.input-group:nth-child(3) { animation-delay: 0.3s; }
.input-group:nth-child(4) { animation-delay: 0.4s; }

@media (max-width: 480px) {
  .feedback-form {
      padding: 20px;
  }

  h2 {
      font-size: 1.5rem;
  }

  .star {
      font-size: 1.5rem;
  }
}




@media (max-width: 1024px) {
  .contact{
    display: inline;
    top: 55px;
    left: 30%;
  }
}


@media (min-width: 768px) {
  .container{
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }
  
}


@media screen and (min-width: 1120px) {
  .container{
    grid-template-columns: repeat(3, 1fr);
    height: 100vh;
  }
}


@media (max-width: 430px) {
  .contact{
    
    top: 100px;
    left: 10%;

  }
}

@media (max-width: 425px) {
  
  .container{
    margin-inline: 1rem;
    grid-template-columns: 1fr;

  }
  .card-data{
    width: 250px;
    padding: 1rem;;
  }}

@media (max-width: 350px) {
  .contact{
    left: 0%;
  }
}
 @media (max-width: 768px) {
            .carousel-nav.prev {
                left: -35px;
            }

            .carousel-nav.next {
                right: -35px;
            }

            .carousel-nav {
                width: 35px;
                height: 35px;
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .feedback-form {
                padding: 20px;
            }

            h2 {
                font-size: 1.5rem;
            }

            .star {
                font-size: 1.5rem;
            }

            .carousel-nav.prev {
                left: 5px;
            }

            .carousel-nav.next {
                right: 5px;
            }

            .feedback-display {
                height: 250px;
            }

            .carousel-wrapper {
                height: 150px;
            }
        }